export const htmlTextReg = /<[^>]+>/g

export const urlReg = /(https?|http|ftp|file):\/\/[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]/g

// eslint-disable-next-line no-useless-escape
export const symbolReg = /^[a-zA-Z0-9_-\s-()-\[-\]:\u4e00-\u9fa5]*$/

export const parenthesesReg = /\(clone at(.+?)\)/

export const sqlReg = /^(?!\s*--)(?!.*\/\*.*\*\/.*)(?:SELECT|INSERT INTO|UPDATE|DELETE FROM|CREATE|DROP|ALTER|TRUNCATE|GRANT|REVOKE|EXEC|CALL)\s+.*/i